home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / 3458A.ZIP / AMAC44A.ZIP / COMT21.QM < prev    next >
Text File  |  1992-06-22  |  8KB  |  174 lines

  1. *                               COMT21.QM
  2. *                     Commenting/Uncommenting Macros
  3. *                        Written by Tom Hogshead
  4. *            With Macro Contributions by John Goodman, et al
  5. *                                 6/22/92
  6. *  Key       Subfile            Description
  7. * =====  ===============  ===============================================
  8. * Subfiles...
  9. *         {e:\up\com001}  Macros to Center and Remove Centered Comments ( )
  10. *         {e:\up\com002}  Macros to Make Title Boxes
  11. *         {e:\up\com003}  Miscellaneous Commenting Macros
  12. *         {e:\up\com004}  Macros to Comment and Un-Comment
  13. *         {e:\up\Com005}  Macros to Append Eol Date Markers '*:dd'
  14. *
  15. * Macros in Subfiles...
  16.     * -------- Macros to Center and Remove Centered Comments --------*
  17. *                         Center Macro Comment * -- Comment --*
  18. *  @5     {e:\up\com001}      - First Character in Col 5                  |new
  19. *  @4     {e:\up\com001}      - First Character in Col 1
  20. *  @8     {e:\up\com001}  Convert @4 Comments to @5 Comments              |new
  21. *  @7     {e:\up\com001}  Remove Macro Comment * -- <Comment> --*
  22. *  @3     {e:\up\rfr003}  Formats Commented or Uncommented Paragraph,
  23. *                         Leaves Paragraph in Original Commented
  24. *                         or Uncommented State
  25. *  @4     {e:\up\rfr003}  Formats Commented or Uncommented Paragraph,
  26. *                         Leaves Commented Paragraph Uncommented,
  27. *                         and Vice Versa
  28. *
  29.     * ------------------ Macros to Make Title Boxes ------------------*
  30. *  @5     {e:\up\com002}  Make Macro Title Box
  31. *  @6     {e:\up\com002}  Copy Macro Title To Index
  32. *  @9     {e:\up\com002}  Remove Macro Title Box
  33. *
  34.     * --------------- Miscellaneous Commenting Macros ---------------*
  35. *  @1     {e:\up\com003}  Fill 3 Character Wide Column Block With ","
  36. *  @4     {e:\up\com003}  Insert Prompted Text Into Each Column Block Line
  37. *  @8     {e:\up\com003}  Insert Text at Beginning of Lines
  38. *  @9     {e:\up\com003}  Comment Or Un-comment With '*»' in Col 1,
  39. *»                                    (like this)
  40. *
  41. *  @0     {e:\up\com003}  Comment or Un-comment With '*--' in Col 1,
  42. *--                                   (like this)
  43. *
  44. *  @f1    {e:\up\com003}  Comment Non-macro Portion of File
  45. *  @f3    {e:\up\com003}  Comment Paragraph or Block
  46. *  @f4    {e:\up\com003}  Comment File
  47. *  @f5    {e:\up\com003}  Un-Comment File
  48. *  @f9    {e:\up\com003}  Builds a "Comment Box" for C Programmers
  49. *  @f10   {e:\up\com003}  Center C Program Comment
  50. *
  51. *  #F4__  {e:\up\com003}  Surround Column-Blocked Text With Box of Char's
  52. *                                               ********
  53. *                                     Box Drawn *Around* Outside Border
  54. *                                               ********
  55. *                                     Of Column Block, Juxtapose Text
  56. *  @F4    {e:\up\com003}  Erase Outside Border Of Column-Blocked Text
  57. *  ^F7_   {e:\up\com003}  Prepend/Delete Prompted Text To Lines
  58. *  #F7__  {e:\up\com003}  Prepend/Delete Prompted Text To Lines (Init find)
  59. *  @F7    {e:\up\com003}  Insert Text At Beginning Of All Blocked Lines
  60. *  @F8    {e:\up\com003}  Put Colon in Front of Batch File "Rem" Lines
  61. *
  62.     * --------------- Macros to Comment and Un-Comment --------------*
  63. *  @4     {e:\up\com003}  Preserve Indention                              |new
  64. *  @3     {e:\up\com003}  Preserve Juxtaposition, Stars Lft of First Char |new
  65. *  @2     {e:\up\com003}  Preserve Juxtaposition, Stars in Col 1          |new
  66. *  @5     {e:\up\com003}  Shifts Lines, Stars in Col 1                    |new
  67. *  @1     {e:\up\com003}  Shifts Lines, Stars in Col 1 (v2.10 only)
  68. *
  69.     * ----------- Macros to Append Eol Date Markers '*:dd' -----------*
  70. *  @1     {e:\up\Com005}  Insert Eol Date Marker '*:dd'  ( )              |new
  71. *  @2     {e:\up\Com005}  Find and Pause to Delete Next Eol Marker        |new
  72. *  @3     {e:\up\Com005}  Find and Date/Un-date Next Eol Marker           |new
  73. *  @4     {e:\up\Com005}  Convert '*|' to '*;' Markers                    |new
  74. *
  75. *--
  76. *  @h     Jump From Index Line To Item or Macro in File Below
  77. *
  78. *         Index - How to locate macro or item below from Index using @h
  79. *         Description
  80. *         Startup
  81. *         Macros
  82. *         Other Macros
  83. *         Version History
  84. *
  85. *-- eoi
  86.  
  87.  
  88. * (Description)
  89. * --------------
  90. * COMT21.QM contains macros to comment and un-comment lines, blocks,
  91. * paragraphs, macros, C programs, and dBase lines.  Also has macros to
  92. * insert and delete text at beginning of lines or blocks, macro to
  93. * speed up batch file running, and macro to make and remove boxes with
  94. * any desired border surrounding text.  Macros to insert commented eol
  95. * date markers
  96.  
  97.  
  98. * (Index) Use
  99. * ------------
  100. * To locate a macro or item in this file, press @h, place the cursor
  101. * line on the desired item in the Index above, and press <enter>.  See
  102. * BOOKxx.QM for more details.
  103.  
  104.  
  105. * (STARTUP)
  106. * ----------
  107. * To BEGIN, just type "START COMT" <Enter>.  All pertinent files will
  108. * be loaded in the "Ring" for viewing, and COMT21.MAC is read.
  109. * Alternatively, type "START COMT 0" <Enter> and the disk copies of all
  110. * files in the "Ring" will be loaded ready for editing, saving time.
  111.  
  112. * These macros require "QEdit and QMAC v2.1, February, 1990" or later.
  113. * Some macros require QEdit v2.15.  For (other) macros, see ALLMACRO.INF.
  114.  
  115.  
  116. * (MACROS)
  117. * ---------
  118. *  See subfiles 'com00n.qm' for macros.  Use @f in BOOKxx.QM to access
  119. *  macros.
  120.  
  121. * 
  122. * ----------------------------------------------------------------------
  123. * @(h)  Jump From Index Line To (Locate) Macro or Item in Document Below
  124. * ----------------------------------------------------------------------
  125. *        Alt_h can be used to quickly jump from Index Line to the desired
  126. *        item or macro in the document below:
  127. *        1. Press Alt and h at the same time. Line 1 is marked to
  128. *           highlight. Cursor down to desired line in Index.
  129. *        2. Press Enter. The macro then locates and jumps to the item
  130. *           selected on the cursor line in the document below.
  131.  
  132. *   See BOOKxx.Qm and JMPPOSxx.QM in AMACxx.ZIP for more discussion about
  133. *   using bookmarks and positions markers ( ) to jump to positions in
  134. *   files.
  135.  
  136. @h      MacroBegin UnmarkBlock DefaultWordSet BegFile MarkLine
  137.         MarkLine Pause WordRight MarkWord Copy EndPara
  138.         MakeCtrOfScreen Find "(" Paste ")" Return "I" Return JFalse
  139.         Label0: BegLine Jump Label1: Label0: BegFile Label1:
  140. *
  141. * 33 bytes Wed  07-10-1991  10:11:24 (TH @1 in BOOKxx.QM)
  142.  
  143.  
  144. * (Version) History
  145. * ------------------
  146. *   1.8  -  Modified @5 in com002.qm for all qconfig's.               12/11/91
  147. *        -  In AMAC42.ZIP.                                             3/28/92
  148. *   1.9  -  Modified @5/6/9 in com002.qm for v2.15.                    4/22/92
  149. *        -  In AMAC42E.ZIP.                                            4/26/92
  150. *   2.0  -  Modified @4 and @7 in com001.qm.                            5/4/92
  151. *        -  Changed @5 and @6 in com002.qm.                             5/4/92
  152. *        -  Added @4 in com003.qm.                                      5/4/92
  153. *        -  Removed @2 and @3 from com003.qm.                           5/5/92
  154. *        -  Removed @3/5/8 ^f5, #f5 from com001.qm.                     5/5/92
  155. *        -  Modified @4 com003.qm.                                     5/13/92
  156. *        -  In Amac43.zip.                                             5/27/92
  157. *   2.0a -  Added ( ) to Index line 1 for bok001.qm macros.            5/30/92
  158. *   2.1  -  Added @5 and @8 in com001.qm.                               6/8/92
  159. *        -  Changed ^cursordown to @9 in com001.qm.                     6/9/92
  160. *        -  Added @0 in com001.qm.                                      6/9/92
  161. *        -  Changed all @#^ f3 keys to f5 keys in com001.qm.            6/9/92
  162. *        -  Moved macros from com001.qm to com004.qm.                   6/9/92
  163. *        -  Changed keys in com001.qm and com004.qm.                    6/9/92
  164. *        -  Added @2/3/4/5 in com004.qm.                               6/16/92
  165. *        -  Moved macros from com004.qm to com003.qm.                  6/22/92
  166. *
  167. *
  168. *
  169. *
  170. *
  171. *
  172. *
  173. *-- eof
  174.